package sliver.dao;

import java.io.Serializable;
import java.util.List;

import sliver.entity.Category;
import sliver.entity.Shopper;

public interface CategoryDao extends BaseDao<Category>{
	
	public List<Category> findParentCategories(Serializable categoryId);
	
	public List<Category> findCategorise(Shopper shopper, boolean isRoot, Serializable parentId);
	
	public List<Category> findMyRootCategories(Shopper shopper);
	
	public List<Category> findMyCategories(Shopper shopper, Long rootId);
}
